package com.yenlien.traceyun.milk.dao;

import com.yenlien.traceyun.milk.entity.MilkBucket;
import com.yenlien.traceyun.webase.dao.BaseJpaDao;
import org.springframework.data.jpa.repository.Query;

/**
 * @Date 2022/7/11
 * @Author jiaLong
 * @Descript
 */
public interface MilkBucketDao extends BaseJpaDao<MilkBucket> {

    @Query(value = "select COUNT(*) from t_milk_bucket where company_id = ?1", nativeQuery = true)
    String count(String companyId);




}
